package structure.composite;

public class Tree {
	private TreeNode root;

	public Tree(String name) {
		setRoot(new TreeNode(name));
	}

	public TreeNode getRoot() {
		return root;
	}

	public void setRoot(TreeNode root) {
		this.root = root;
	}
}
